﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using VIA.Presentation;
using VIA.Presentation.Contracts;
using VIA.Project.Presentation.ViewModel.Inspection;

namespace VIA.Project.Presentation.View.Inspection
{
    /// <summary>
    /// ProductionRecordView.xaml 的交互逻辑
    /// </summary>
    [View(typeof(IProductionRecordView), IsShared = true)]
    public partial class ProductionRecordView : IProductionRecordView
    {
        public ProductionRecordView()
        {
            InitializeComponent();
        }
        private void DataGridRow_PreviewMouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var row = e.Source as DataGridRow;
            //this.GetViewModel<ProductionRecordViewModel>().BrowseDetailCommand.Execute(row.DataContext as RecordInfo);
        }
    }
}
